package com.woniuxy.exception.foodVariety;

public enum FoodVarietyExceptionCode {

    STORE_STATUS_DISABLE(5041,"该商铺无上架菜品权限"),
    FOOD_IS_EXIST(5041,"该菜品已存在"),
    FOOD_IS_DEL(5042,"菜品已被删除"),
    FOOD_IS_USABLE(5043,"菜品已上架"),
    FOOD_IS_DISABLE(5044,"菜品已下架"),
    FOOD_TYPE_IS_DISABLE(5045,"菜品类别不可用"),
    FOOD_IS_NULL(5046,"不存在该条件菜品"),
    FOOD_NAME_IS_EXIST(5047,"菜品名称已存在");





    Integer code;
    String message;

    FoodVarietyExceptionCode() {
    }

    FoodVarietyExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }


    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String exceptionName) {
        this.message = exceptionName;
    }
}
